Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface System.​Collections.​Generic.​IAsyncEnumerable<​T>

Assembly: System.Runtime

Exposes an enumerator that provides asynchronous iteration over values of a specified type.

Methods

GetAsyncEnumerator​(Threading.​CancellationToken cancellationToken = null)
Returns an enumerator that iterates asynchronously through the collection.
Returns An enumerator that can be used to iterate asynchronously through the collection.
cancellationToken A <see cref="T:System.Threading.CancellationToken" /> that may be used to cancel the asynchronous iteration.